<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>layui的使用</title>
    <!--引入css样式-->
    <link rel="stylesheet" type="text/css" href="layui-v2.9.6/layui/css/layui.css" />
    <!--引入js文件-->
    <script src="layui-v2.9.6/layui/layui.js" type="text/javascript" charset="utf-8"></script>

<body>
    <script>
        // Usage
        layui.use(function () {
            var layer = layui.layer;
            // Welcome
            layer.msg('Hello World', { icon: 6 });
        });
    </script>
</body>

</html>